<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
</head>
<body>
<div class="body">
	<?php echo $this->position->get_position();?>
    <div class="body_center">
    	<form action="<?php echo site_url('admin/block/add_content')?>" method="post">
            <table class="table">
                <tr><th width='20%'>参数名</th><th width='55%'>参数值</th><th width='25%'>参数说明</th></tr>
				<tr>
                	<td align="center">片段名称：</td>
                    <td>
                    	<input type='text' class='input_txt' name='block_name'>
                    </td>
					<td>
						<span class='red'>*</span> 模版使用该名称来调用
					</td>
                </tr>
                <tr>
                	<td align="center">片段内容：</td>
                    <td colspan=2>
                    	<textarea name='block_content' id='ckeditor'></textarea>
						<?php echo display_ckeditor($ckeditor_config)?>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                   		<input type="submit" class="submit" value="提交" /> 
                        &nbsp;&nbsp;
                        <input type="reset" class="reset" value="重置" />
                    </td>
                    <td>&nbsp;</td>
                </tr>
            </table>          
   		</form>
    </div>
</div>
</body>
</html>